package com.kehutong.applet.entity;

import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

/**
 * @program: kht
 * @description: 小程序白名单
 * @author: joneron
 * @create: 2021/5/21
 **/
@Table(value="t_applet_white", comment="小程序白名单管理",idType = IDType.TIMESTAMP)
public class AppletWhiteEntity extends Entity {

    private static final long serialVersionUID = -7959018359378457189L;

    protected AppletWhiteEntity(String id) {
        super(id);
    }

    @Column(comment="小程序名称")
    private String appletName;

    @Column(comment="小程序appId")
    private String appId;

    @Column(comment="排序")
    private Integer sortNum;

    @Column(comment="创建人")
    private String createName;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

    public String getAppletName() {
        return appletName;
    }

    public void setAppletName(String appletName) {
        this.appletName = appletName;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public Integer getSortNum() {
        return sortNum;
    }

    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
}
